package com.entity;

/**
 * @Description: 文宇管理员账户  // 类说明，在创建类时要填写
 * @ClassName: Admins    // 类名，会自动填充
 * @Author: weisn          // 创建者
 * @Date: 2020/12/8 9:19   // 时间
 * @Version: 1.0     // 版本
 */
public class Admins {
    private int id;
    private String username;
    private String password;

    public Admins(int id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Admins{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
